package com.tengfei.main.course.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 章节视频对象 cs_chapter_video
 *
 * @author tengfei
 * @date 2022-07-27
 */
@Data
@TableName("cs_chapter_video")
public class ChapterVideo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 章节视频id
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 章节id
     */
    private Long chapterId;
    /**
     * 视频id
     */
    private Long videoId;
    /**
     * 是否可以快进
     */
    private Integer isForward;
    /**
     * 排序等级
     */
    private Integer level;
    /**
     * 问题类型为选择题或判断题
     * [
     * {
     * "point":10,	"视频第十秒"
     * "qus_id":10	"问题id"
     * },
     * {
     * "point":60,	"视频第十秒"
     * "qus_id":30	"问题id"
     * }
     * ]
     */
    private String problems;

}
